﻿/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function (config) {
    // Define changes to default configuration here. For example:
    // config.language = 'fr';
    // config.uiColor = '#AADC6E';
    config.enterMode = CKEDITOR.ENTER_BR;
    config.extraPlugins = 'youtube,resize';
    config.filebrowserBrowseUrl = "/Scripts/ckfinder/ckfinder.html";
    config.filebrowserWindowWidth = 500;
    config.filebrowserWindowHeight = 650;
    config.filebrowserUploadUrl = "/Scripts/ckfinder/ckfinder.html";
    CKEDITOR.config.toolbar_Basic = [
                  ['Source', '-', 'Templates'],
                  ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Print', 'SpellChecker', 'Scayt'],
                  ['Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'],
                  ['Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
                  '/',
                  ['Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript'],
                  ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'],
                  ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
                  ['Link', 'Unlink', 'Anchor'],
                  ['Image', 'Flash', 'Youtube', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak'],
                  '/',
                  ['Styles', 'Format', 'Font', 'FontSize'],
                  ['TextColor', 'BGColor'],
                  ['Maximize', 'ShowBlocks', '-', 'About'],
                  ['insert_image']                                //Button added to the toolbar
                ]
    config.toolbar = 'Basic'
};
